/*
 * @Auther        : SR
 * @Date          : 2022-02-25 16:12:19
 * @LastEditTime  : 2022-02-27 15:15:12
 */
package windows

import (
	"fyne.io/fyne/v2"
)

type Tutorial struct {
	Title, Intro string
	View         func(w fyne.Window) fyne.CanvasObject
}

var ( // 设置导航栏结构
	Tutorials = map[string]Tutorial{
		"upload":   {Title: "upload", Intro: ":)", View: uploadScreen},
		"download": {Title: "download", Intro: ":))", View: downloadScreen},
		"search":   {Title: "search", Intro: ":)))", View: searchScreen},
	}

	TutorialIndex = map[string][]string{
		"": {"upload", "download", "search"},
	}
)
